const router = require('koa-router')()
const { addLocation, changeLocation, getLocation } = require('../controllers/location')
router.prefix('/location')

// 添加书本位置
router.post('/add', addLocation)

// 修改书本位置
router.post('/change', changeLocation)

// 获取书本位置
router.post('/get', getLocation)

module.exports = router

